namespace GameConfig {

	export let stageWidth:number;
	export let stageHeight:number;
    /**uiIndex */
	export let uiIndex = {
		load: 0,
		home: 1, //首页
		game: 2,
		dieShare: 3,
		over: 4,
		opensetting: 5,
		moreGame: 6,
		rankListFromHome: 7,
		rankListFromOver: 8,
		mainReborn: 9,
		SkinShop: 10,
		diamondShop: 11, //钻石商城
		shopConfirm: 12,
		inviteReward: 13,
		groupRankList: 14,
		gameReborn: 15,
		pause:16,
		recommend:17,
		redpacket:18,
		clean: -1
	}

	/**向共享数据域发送的命令 */
	export let shareCavansCommand = {
		/**获取朋友关系链数据 */
		GET_FRIEND_INFO:"friend",
		/**check */
		CHECK_RANK:"check",
		/**展示某个页面对应的排行榜数据 */
		SHOW_RANK:"show_rank",
		/**清空共享数据域的排行榜数据及展示内容 */
		CLEAN_RANK:'clean',
		/**告诉排行榜当前主域展示的页面 */
		UPDATE_INDEX:"update_index",
		/**上一页的数据 */
		PRE_PAGE_RANK:"PRE_PAGE_RANK",
		/**下一页的数据 */
		NEXT_PAGE_RANK:"NEXT_PAGE_RANK"
	}
}